#include <iostream>
#include <string>
#include <ctime>
#include "core.h"
#include "game_server.h"
//#include "client_mgr.h"

using namespace std;

int main()
{
	net_core;
	GAME_SERVER()->init();
	GAME_SERVER()->run();
	while(1)
	{
		string c;
		cin >> c;
		cout << "get input cmd [ " << c << " ]" << endl;
		if (  !c.compare("quit") ) 
		{
			break;
		}
	}
	GAME_SERVER()->stop();
	return 0;
}
